home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre2.z / postgre2 / doc / implementation / planner / Makefile < prev    next >
Encoding:
Makefile  |  1992-08-27  |  1.1 KB  |  52 lines

  1. #
  2. #    Makefile for Zelaine's masters report
  3. #
  4. #    We have to use ditroff to use grn.
  5. #    We can only use a PS or Imagen printer with grn.
  6. #
  7.  
  8. PSFONT=    /usr/local/lib/font
  9. IMAGEN=    ip
  10. PS=    lw
  11. PSFLAGS=-F$(PSFONT) -Tpsc
  12. TROFF=    /usr/local/ditroff
  13. troff=    $(TROFF) -P$(IMAGEN)
  14. EQN=    /usr/local/deqn
  15. eqn=    $(EQN) -P$(IMAGEN)
  16. TBL=    /usr/local/dtbl
  17. tbl=    $(TBL) -P$(IMAGEN)
  18. GRN=    /usr/local/grn
  19. grn=    $(GRN) -P$(IMAGEN)
  20.  
  21. report: 
  22.     $(troff) -me -t 0.abstr > Abstract.$(IMAGEN)
  23.     $(tbl) starter [1-9].* | \
  24.     $(grn) | \
  25.     $(eqn) | \
  26.     $(troff) -me -t > Report.$(IMAGEN)
  27.  
  28. report2:
  29.     $(troff) -me -t 0.abstr > Abstract.$(IMAGEN)
  30.     $(tbl)  starter2 [1-9].* | \
  31.     $(grn) | \
  32.     $(eqn) | \
  33.     $(troff) -me -t > Report2.$(IMAGEN)
  34.  
  35. psreport: 
  36.     $(troff) $(PSFLAGS) -P$(PS) -me -t 0.abstr | \
  37.     psdit > Abstract.$(PS)
  38.     $(tbl) $(PSFLAGS) starter [1-9].* | \
  39.     $(grn) $(PSFLAGS) | \
  40.     $(eqn) $(PSFLAGS) -r576 -m2 | \
  41.     $(troff) $(PSFLAGS) -me -t | \
  42.     psdit > Report.$(PS)
  43.  
  44. print: 
  45.     lpr -n -P$(IMAGEN) Abstract.$(IMAGEN) Report.$(IMAGEN)
  46.  
  47. print2: 
  48.     lpr -n -P$(IMAGEN) Abstract.$(IMAGEN) Report2.$(IMAGEN)
  49.  
  50. psprint: 
  51.     lpr -P$(PS) Abstract.$(PS) Report.$(PS)
  52.